<fieldset>
    <button style="float:left;" data-modal='{:url("add")}' data-title="添加" class='layui-btn layui-btn-sm layui-btn-normal'>添加</button>

    <button style="float:left;margin-right: 6px" data-action='{:url("remove")}' data-rule="id#{key}" data-csrf="{:systoken('remove')}" data-confirm="确定要删除吗？" class='layui-btn layui-btn-sm layui-btn-danger'>删除</button>
    <form style="float: left" class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-inline">
                <input name="name" value="{:input('get.name')}" placeholder="请输入名称" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-inline">
            <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
        </div>
    </form>
</fieldset>
<script>form.render()</script>
